<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>dept_detail.jsp</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="./css/style.css">
	

  </head>
  
  <body>
  
  <div id="blue_button">
			<div id="blue_button_word">
				&nbsp;部门管理
			</div>
		</div>

		<div id="right_background">
			&nbsp;
			<br />
			<br />
			<br />
			<br />
    <table cellspacing="1" class="tab_dept_detail">
    <tr class="tab_header_detail">
    <td class="right" style="width: 150px;">部门编号</td >
    <td class="left"style="width: 200px;" background="green">${cd.deptno}</td>
    
    <td  class="right"style="width: 150px;">部门名称</td> 
    <td class="left">${cd.dname}</td>
    </tr>
    <tr class="tab_header_detail">
    <td  class="right">联系电话</td>
    <td class="left">${cd.DPhone}</td>
  
    <td  class="right">部门经理</td>
    <td class="left">${cd.comEmp.EName}</td>
    </tr>
     <tr class="tab_header_detail">
    <td  class="right">传真</td>
    <td class="left">${cd.DFax}</td>
   
    <td  class="right">部门状态</td>
    <c:if test="${cd.DStatus=='Y'}">
    	<td class="left">未删除</td>
    </c:if>
     <c:if test="${cd.DStatus=='N'}">
    	<td class="left">已删除</td>
    </c:if>
    <%-- 
    	<td class="left">${cd.DStatus}</td>
    --%>
    </tr>
        <tr class="tab_header_detail">
    <td  class="right" >部门简述</td>
    <td class="left"  colspan="10">${cd.DDescribe}</td>
    </tr>
    </table>
    </div>
  </body>
</html>
